//
//  HealthyBKCell.m
//  HarmonizePub
//
//  Created by Haven on 2016/11/3.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import "HealthyBKCell.h"
#import "HealthyInfoList.h"
#import "Config.h"
#import "UIImageView+WebCache.h"

@implementation HealthyBKCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

+ (NSString *)registerName {
    return @"HealthyBKCell";
}


- (void)setHealthyInfoList:(HealthyInfoList *)healthyInfoList
{
    _healthyInfoList = healthyInfoList;
    
    self.titleLable.text = healthyInfoList.title;
    
    self.timeLable.text = healthyInfoList.createDate;
    
    self.doctorNameLable.text = healthyInfoList.author;
    
    [self.iconView downloadImageWithURLString: healthyInfoList.image  placeholderString:@"icon"];
}
@end
